package cn.kgc.ssm.service;

import cn.kgc.ssm.dto.MemberPageDTO;
import cn.kgc.ssm.entity.Member;
import cn.kgc.ssm.response.ResponseResult;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * @author 课工场
 * @date 2024/11/18
 * @description
 */
public interface MemberService {
    ResponseResult memberPage(MemberPageDTO memberPageDTO);

    ResponseResult addMember(Member member);

    ResponseResult editMember(Member member);

    ResponseResult deleteMember(List<Integer> ids);

    ResponseResult registerMember(Member member);

    ResponseResult login(Member member, HttpSession session);
}
